package collection.array;

import org.junit.Test;

import java.util.*;

/**
 * author : yeswater
 * date : 2023/7/15
 */

public class ArrayTest {

    @Test
    public void test() {
        int[] arr = {1,2,3};
        PrimitiveIterator.OfInt iterator = Arrays.stream(arr).iterator();
        String[] arr1 = {"1", "2", "3"};
        Iterator<String> iterator1 = Arrays.stream(arr1).iterator();
        ArrayList<Object> arrayList = new ArrayList<>();
        Iterator<Object> iterator2 = arrayList.iterator();
        int abc = Objects.hash("abc");
    }

}
